*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-size: cover;
    background: url("../images/bg.png") no-repeat;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login{
    background: #ffffff;
    padding: 100px 50px;
}
.login h1{
    text-align: center;
    margin-bottom: 40px;
}
.login input{
    width: 375px;
    padding: 14px 20px 14px 40px ;
    margin-bottom: 10px;
    outline: none;
    border: 1px solid #dddddd;
}
.login p{
    position: relative;
}
.login .youhu{
    background: url("../images/yonghuming.png")no-repeat;
    width:27px;
    height: 23px;
    display: inline-block;
    position: absolute;
    left: 10px;
    top:13px;
}
.login .pass{
    background: url("../images/mima.png");
    width:21px;
    height: 23px;
    display: inline-block;
    position: absolute;
    left: 12px;
    top: 9px;
}
.login #submit{
    margin-top: 30px;
    background: rebeccapurple;
    color: #ffffff;
    cursor: pointer;
}
#submit:hover{
    background: #6531bf;
}
.reg{
    height: 473px;
    padding: 100px 50px;
    color: #ffffff;
    background: url("../images/bg-login.png");
    background-size: cover;
}
.reg p{
    margin-bottom: 50px;
}
.reg a{
    text-decoration: none;
    color: #ffffff;
}
.rj{
    background: url("../images/youjiantou.png");
    background-size: cover;
    width:23px;
    height:23px;
    display: inline-block;
    position: relative;
    left:8px;
    top: 4px;
}


@media (max-width: 600px) {
    .container{
        flex-wrap: wrap;
    }
    .login input{
        width: 250px;
    }
    .reg{
        width:93%;
    }

}